package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 患者信息
对象 he_patient
 * 
 * @author ruoyi
 * @date 2023-09-02
 */
public class HePatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 患者编号 */
    @Excel(name = "患者编号")
    private String patientNumber;

    /** 诊断类别 */
    @Excel(name = "诊断类别")
    private String patientDiagnosisCategory;

    /** 病历号/门诊号 */
    @Excel(name = "病历号/门诊号")
    private String patientRecordOutpatient;

    /** 姓名 */
    @Excel(name = "姓名")
    private String patientName;

    /** 性别 */
    @Excel(name = "性别")
    private String patientGender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date patientDateOfBirth;

    /** 年龄 */
    @Excel(name = "年龄")
    private String patientAge;

    /** 年龄阶段 */
    @Excel(name = "年龄阶段")
    private String patientAgeStage;

    /** 民族 */
    @Excel(name = "民族")
    private String patientEthnicGroup;

    /** 体重（公斤） */
    @Excel(name = "体重", readConverterExp = "公=斤")
    private String patientWeight;

    /** 原患疾病 */
    @Excel(name = "原患疾病")
    private String patientPreExistingDisease;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String patientContact;

    /** 家属电话 */
    @Excel(name = "家属电话")
    private String patientFamilyNumber;

    /** 就诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "就诊时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date patientAdmissionTime;

    /** 科室 */
    @Excel(name = "科室")
    private String patientDepartment;

    /** 床号 */
    @Excel(name = "床号")
    private String patientBedNumber;

    /** 护理级别 */
    @Excel(name = "护理级别")
    private String patientNursingLevel;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String patientEducationLevel;

    /** 诊断 */
    @Excel(name = "诊断")
    private String patientDiagnosis;

    /** 备注1 */
    @Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    @Excel(name = "备注5")
    private String note5;

    /** 备注6 */
    @Excel(name = "备注6")
    private String note6;

    /** 备注7 */
    @Excel(name = "备注7")
    private String note7;

    /** 备注8 */
    @Excel(name = "备注8")
    private String note8;

    /** 备注9 */
    @Excel(name = "备注9")
    private String note9;

    /** 备注10 */
    @Excel(name = "备注10")
    private String note10;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientNumber(String patientNumber) 
    {
        this.patientNumber = patientNumber;
    }

    public String getPatientNumber() 
    {
        return patientNumber;
    }
    public void setPatientDiagnosisCategory(String patientDiagnosisCategory) 
    {
        this.patientDiagnosisCategory = patientDiagnosisCategory;
    }

    public String getPatientDiagnosisCategory() 
    {
        return patientDiagnosisCategory;
    }
    public void setPatientRecordOutpatient(String patientRecordOutpatient) 
    {
        this.patientRecordOutpatient = patientRecordOutpatient;
    }

    public String getPatientRecordOutpatient() 
    {
        return patientRecordOutpatient;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientGender(String patientGender) 
    {
        this.patientGender = patientGender;
    }

    public String getPatientGender() 
    {
        return patientGender;
    }
    public void setPatientDateOfBirth(Date patientDateOfBirth) 
    {
        this.patientDateOfBirth = patientDateOfBirth;
    }

    public Date getPatientDateOfBirth() 
    {
        return patientDateOfBirth;
    }
    public void setPatientAge(String patientAge) 
    {
        this.patientAge = patientAge;
    }

    public String getPatientAge() 
    {
        return patientAge;
    }
    public void setPatientAgeStage(String patientAgeStage) 
    {
        this.patientAgeStage = patientAgeStage;
    }

    public String getPatientAgeStage() 
    {
        return patientAgeStage;
    }
    public void setPatientEthnicGroup(String patientEthnicGroup) 
    {
        this.patientEthnicGroup = patientEthnicGroup;
    }

    public String getPatientEthnicGroup() 
    {
        return patientEthnicGroup;
    }
    public void setPatientWeight(String patientWeight) 
    {
        this.patientWeight = patientWeight;
    }

    public String getPatientWeight() 
    {
        return patientWeight;
    }
    public void setPatientPreExistingDisease(String patientPreExistingDisease) 
    {
        this.patientPreExistingDisease = patientPreExistingDisease;
    }

    public String getPatientPreExistingDisease() 
    {
        return patientPreExistingDisease;
    }
    public void setPatientContact(String patientContact) 
    {
        this.patientContact = patientContact;
    }

    public String getPatientContact() 
    {
        return patientContact;
    }
    public void setPatientFamilyNumber(String patientFamilyNumber) 
    {
        this.patientFamilyNumber = patientFamilyNumber;
    }

    public String getPatientFamilyNumber() 
    {
        return patientFamilyNumber;
    }
    public void setPatientAdmissionTime(Date patientAdmissionTime) 
    {
        this.patientAdmissionTime = patientAdmissionTime;
    }

    public Date getPatientAdmissionTime() 
    {
        return patientAdmissionTime;
    }
    public void setPatientDepartment(String patientDepartment) 
    {
        this.patientDepartment = patientDepartment;
    }

    public String getPatientDepartment() 
    {
        return patientDepartment;
    }
    public void setPatientBedNumber(String patientBedNumber) 
    {
        this.patientBedNumber = patientBedNumber;
    }

    public String getPatientBedNumber() 
    {
        return patientBedNumber;
    }
    public void setPatientNursingLevel(String patientNursingLevel) 
    {
        this.patientNursingLevel = patientNursingLevel;
    }

    public String getPatientNursingLevel() 
    {
        return patientNursingLevel;
    }
    public void setPatientEducationLevel(String patientEducationLevel) 
    {
        this.patientEducationLevel = patientEducationLevel;
    }

    public String getPatientEducationLevel() 
    {
        return patientEducationLevel;
    }
    public void setPatientDiagnosis(String patientDiagnosis) 
    {
        this.patientDiagnosis = patientDiagnosis;
    }

    public String getPatientDiagnosis() 
    {
        return patientDiagnosis;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }
    public void setNote6(String note6) 
    {
        this.note6 = note6;
    }

    public String getNote6() 
    {
        return note6;
    }
    public void setNote7(String note7) 
    {
        this.note7 = note7;
    }

    public String getNote7() 
    {
        return note7;
    }
    public void setNote8(String note8) 
    {
        this.note8 = note8;
    }

    public String getNote8() 
    {
        return note8;
    }
    public void setNote9(String note9) 
    {
        this.note9 = note9;
    }

    public String getNote9() 
    {
        return note9;
    }
    public void setNote10(String note10) 
    {
        this.note10 = note10;
    }

    public String getNote10() 
    {
        return note10;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientNumber", getPatientNumber())
            .append("patientDiagnosisCategory", getPatientDiagnosisCategory())
            .append("patientRecordOutpatient", getPatientRecordOutpatient())
            .append("patientName", getPatientName())
            .append("patientGender", getPatientGender())
            .append("patientDateOfBirth", getPatientDateOfBirth())
            .append("patientAge", getPatientAge())
            .append("patientAgeStage", getPatientAgeStage())
            .append("patientEthnicGroup", getPatientEthnicGroup())
            .append("patientWeight", getPatientWeight())
            .append("patientPreExistingDisease", getPatientPreExistingDisease())
            .append("patientContact", getPatientContact())
            .append("patientFamilyNumber", getPatientFamilyNumber())
            .append("patientAdmissionTime", getPatientAdmissionTime())
            .append("patientDepartment", getPatientDepartment())
            .append("patientBedNumber", getPatientBedNumber())
            .append("patientNursingLevel", getPatientNursingLevel())
            .append("patientEducationLevel", getPatientEducationLevel())
            .append("patientDiagnosis", getPatientDiagnosis())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
